package com.itheima;

public class ReflectDemo {
    public static void main(String[] args) throws ClassNotFoundException {
        Class  c= Class.forName("com.itheima.Student");
        System.out.println(c);
        Class studentClass = Student.class;
        System.out.println(studentClass);
        Student student = new Student();
        Class aClass = student.getClass();
        System.out.println(aClass);
        System.out.println(c==studentClass);
        System.out.println(aClass==studentClass);
    }
}
